package com.cloudkinto.service.company.vo;

import lombok.Data;

import java.util.Date;

@Data
public class TemuAuthVerifyApiRes {

    private Boolean success  = false;

    private Integer errorCode;

    private String errorMsg;

    private Integer serverTime = Math.toIntExact(new Date().getTime()/1000);

    Result result = new Result(false);
    @Data
    public static class Result {
        private Boolean valid;

        public Result(Boolean valid) {
            this.valid = valid;
        }

        public Result() {
        }
    }
}
